package com.example.dubboprovider.serviceimpl;

import com.alibaba.dubbo.config.annotation.Service;
import com.example.dubboapi.HelloService;
import org.springframework.stereotype.Component;

/**
 * @author yuzekai
 * @date 2018/07/24
 **/
@Component
@Service
public class HelloServiceImpl implements HelloService {

    public static final String WELCOME = "Hello, ";

    @Override
    public String hello(String name) {
        return WELCOME + name;
    }
}
